package com.zs.leymovie.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2015/8/19 0019.
 * 作者：舒纲聿
 * 时间：2015年8月19日19:54:08
 * 功能：评论基类
 */
public class CommentEntity implements Serializable {

    /**
     * errcode : 0
     * msg :
     * data : {"comments":[{"user_xingzuo":"水瓶座","cai_num":"0","score":"10","user_id":"410606","user_name":"不知道的错觉","zan_num":"1","user_img_url":"http://img.leying365.com/data/user/19/18/head_img_410606.png","my_action":"0","reply_num":"0","time":"2015-08-16 17:17:34","comment_id":"11369","content":"这都出了好久，我的同学都给我们放了，但是没看过的可以去看一下，很不错的！"},{"user_xingzuo":"处女座","cai_num":"0","score":"10","user_id":"209337","user_name":"__Mr.G","zan_num":"1","user_img_url":"http://q.qlogo.cn/qqapp/100861576/2931D59441EEB3F135DF9C7AE6ECA529/100","my_action":"0","reply_num":"0","time":"2015-08-04 13:16:10","comment_id":"11109","content":"绝对好看，绝对搞笑"}],"last_id":"11109","have_more":"2","hot_comments":[]}
     * api : get-movie-comments
     * status : 1
     */
    private String errcode;
    private String msg;
    private CommentDataEntity data;
    private String api;
    private int status;

    public void setErrcode(String errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(CommentDataEntity data) {
        this.data = data;
    }

    public void setApi(String api) {
        this.api = api;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public CommentDataEntity getData() {
        return data;
    }

    public String getApi() {
        return api;
    }

    public int getStatus() {
        return status;
    }

    public static class DataEntity {
        /**
         * comments : [{"user_xingzuo":"水瓶座","cai_num":"0","score":"10","user_id":"410606","user_name":"不知道的错觉","zan_num":"1","user_img_url":"http://img.leying365.com/data/user/19/18/head_img_410606.png","my_action":"0","reply_num":"0","time":"2015-08-16 17:17:34","comment_id":"11369","content":"这都出了好久，我的同学都给我们放了，但是没看过的可以去看一下，很不错的！"},{"user_xingzuo":"处女座","cai_num":"0","score":"10","user_id":"209337","user_name":"__Mr.G","zan_num":"1","user_img_url":"http://q.qlogo.cn/qqapp/100861576/2931D59441EEB3F135DF9C7AE6ECA529/100","my_action":"0","reply_num":"0","time":"2015-08-04 13:16:10","comment_id":"11109","content":"绝对好看，绝对搞笑"}]
         * last_id : 11109
         * have_more : 2
         * hot_comments : []
         */
        private List<CommentsEntity> comments;
        private String last_id;
        private String have_more;


        public void setComments(List<CommentsEntity> comments) {
            this.comments = comments;
        }

        public void setLast_id(String last_id) {
            this.last_id = last_id;
        }

        public void setHave_more(String have_more) {
            this.have_more = have_more;
        }

        public List<CommentsEntity> getComments() {
            return comments;
        }

        public String getLast_id() {
            return last_id;
        }

        public String getHave_more() {
            return have_more;
        }



        public static class CommentsEntity {
            /**
             * user_xingzuo : 水瓶座
             * cai_num : 0
             * score : 10
             * user_id : 410606
             * user_name : 不知道的错觉
             * zan_num : 1
             * user_img_url : http://img.leying365.com/data/user/19/18/head_img_410606.png
             * my_action : 0
             * reply_num : 0
             * time : 2015-08-16 17:17:34
             * comment_id : 11369
             * content : 这都出了好久，我的同学都给我们放了，但是没看过的可以去看一下，很不错的！
             */
            private String user_xingzuo;
            private String cai_num;
            private String score;
            private String user_id;
            private String user_name;
            private String zan_num;
            private String user_img_url;
            private String my_action;
            private String reply_num;
            private String time;
            private String comment_id;
            private String content;

            public void setUser_xingzuo(String user_xingzuo) {
                this.user_xingzuo = user_xingzuo;
            }

            public void setCai_num(String cai_num) {
                this.cai_num = cai_num;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }

            public void setZan_num(String zan_num) {
                this.zan_num = zan_num;
            }

            public void setUser_img_url(String user_img_url) {
                this.user_img_url = user_img_url;
            }

            public void setMy_action(String my_action) {
                this.my_action = my_action;
            }

            public void setReply_num(String reply_num) {
                this.reply_num = reply_num;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public void setComment_id(String comment_id) {
                this.comment_id = comment_id;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUser_xingzuo() {
                return user_xingzuo;
            }

            public String getCai_num() {
                return cai_num;
            }

            public String getScore() {
                return score;
            }

            public String getUser_id() {
                return user_id;
            }

            public String getUser_name() {
                return user_name;
            }

            public String getZan_num() {
                return zan_num;
            }

            public String getUser_img_url() {
                return user_img_url;
            }

            public String getMy_action() {
                return my_action;
            }

            public String getReply_num() {
                return reply_num;
            }

            public String getTime() {
                return time;
            }

            public String getComment_id() {
                return comment_id;
            }

            public String getContent() {
                return content;
            }
        }
    }
}
